back to
Creeper World
# Tidalwave
# By nathanaelps
# thespuff.com
# 2020-12-22
# For Lyrst
$secondsbetweenwaves:60
$depth_north:20
$depth_south:-20
$depth_east:20
$depth_west:-20
once @initialize endonce
GetTimer0 eq0 if
@tsunami
30 <-secondsbetweenwaves mul SetTimer0
endif
:initialize
Self "main" "none" SetImage
Self CONST_NULLIFIERDAMAGES 0 SetUnitAttribute
Self CONST_COUNTSFORVICTORY 0 SetUnitAttribute
Self CONST_TAKEMAPSPACE 0 SetUnitAttribute
30 <-secondsbetweenwaves mul SetTimer0
:tsunami
MapWidth 2 sub 1 do
I 0 <-depth_north SetCreeperNoLower
I MapHeight 1 sub <-depth_south SetCreeperNoLower
loop
MapHeight 2 sub 1 do
0 I <-depth_west SetCreeperNoLower
MapWidth 1 sub I <-depth_east SetCreeperNoLower
loop